<template>
	<view class="pages">
		<view class="tabs">
			<u-tabs @click="changeTab" :list="listabs" lineWidth="30" lineColor="#f56c6c" :activeStyle="{
          color: '#303133',
          fontWeight: 'bold',
          transform: 'scale(1.2)',
          fontSize: '28rpx',
        }" :inactiveStyle="{
          color: '#606266',
          transform: 'scale(1)',
          fontSize: '28rpx',
        }" itemStyle="padding-right: 20px;height: 45px;">
			</u-tabs>
			<text @click="toggleManagement()" style="color: #ff7b86; font-size: 28rpx">{{ managementText }}</text>
		</view>
		<view v-if="currentTab === '达人收藏'" class="info1" v-for="(item, index) in orderList" :key="index"
			:class="{ 'border-red': isEditing && selectedItems.includes(item.id) }"
			@click="selectInfo(item.id,'daren')">
			<view class="selected-img">
				<image src="https://pw.qyang.cc/static/svg/paySuccess.svg" mode="aspectFill"></image>
			</view>
			<view class="avator">
				<image style="border-radius: 50%;" :src="rq.imgUrl(item.avatar)" mode="scaleToFill" />
			</view>
			<view class="rig">
				<view class="top">
					<text>{{item.nickname}}</text>
					<view class="level" v-if="item.level_img" style="margin-left: 10rpx;">
						<image :src="rq.imgUrl(item.level_img)" mode="scaleToFill" />
					</view>

					<view class="sex"  style="margin-left: 10rpx;" :class="item.gender != 1?'':'blue'">
						<image :src="
                item.gender == 1
                  ? 'https://pw.qyang.cc/static/sexW.png'
                  : 'https://pw.qyang.cc/static/sexM.png'
              " mode="scaleToFill" />
						<text>{{item.age?item.age:''}}</text>
					</view>
				</view>
				<view v-if="item.ptpj" class="l2">
					<span
						style="font-size: 28rpx;color: #FF6C91;letter-spacing: 0px;margin-right: 10rpx;">Miss:</span>{{item.ptpj}}
				</view>
				<view v-else-if="item.bio" class="l2">
					{{item.bio}}
				</view>
				<view v-else class="l2">
					TA很懒，什么也没有留下
				</view>
			</view>
		</view>
		<view v-if="currentTab === '活动收藏'" class="info2">
			<view class="content" v-if="orderList.length > 0">
				<view :class="{
            'border-red': isEditing && selectedItems.includes(item.id),
          }" @click="selectInfo(item.id,'active')" class="activityList" v-for="(item, index) in orderList"
					:key="index">
					<view class="selected-img">
						<image src="https://pw.qyang.cc/static/svg/paySuccess.svg" mode="aspectFill"></image>
					</view>
					<view class="title">
						<view class="title-tab" v-if="item.is_recommend == 1"> 推荐 </view>
						<view class="title-text">
							{{ item.title }}
						</view>
					</view>
					<view class="status">
						<view class="status status0" v-if="item.activity_status == 1"> 筹备中 </view>
						<view class="status status1" v-if="item.activity_status == 2"> 报名中 </view>
						<view class="status status2" v-if="item.activity_status == 3"> 已结束 </view>
					</view>
					<view class="image">
						<image :src="rq.imgUrl(item.image)" mode="scaleToFill"></image>
					</view>
					<view class="btn" v-if="item.activity_status == 2">
						<image src="https://pw.qyang.cc/static/svg/button.svg"
							style="width: 30rpx; height: 30rpx; margin-right: 10rpx">
						</image>
						参与
					</view>
					<view class="con">
						<view class="con1">
							<image src="https://pw.qyang.cc/static/svg/biao.svg" mode="aspectFill"
								style="width: 30rpx; height: 30rpx; margin-right: 15rpx"></image>
							{{ item.issue }}
						</view>
						<view class="con1">
							<image src="https://pw.qyang.cc/static/svg/dingwei.svg" mode="scaleToFill"
								style="width: 30rpx; height: 30rpx; margin-right: 15rpx"></image>{{ item.address }}
						</view>
						<view class="con1 con2" v-if="item.activity_status == 1||item.activity_status == 2">
							<view class="con2-img">
								<image style="border-radius: 50%;" v-for="item1 in item.join_avatar"
									:src="rq.imgUrl(item1)" mode=""></image>


							</view>
							<view class="con2-text">
								<span style="color: #ff7883">{{ item.join_num }}人</span> 报名
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view v-if="currentTab === '帖子收藏'" class="info3" v-for="(item, index) in orderList" :key="index" :class="{
        'border-red': isEditing && selectedItems.includes(item.id),
      }" @click="selectInfo(item.id,'tiezi')">
			<view class="selected-img">
				<image src="https://pw.qyang.cc/static/svg/paySuccess.svg" mode="aspectFill"></image>
			</view>
			<view class="avator">
				<image :src="rq.imgUrl(item.user.avatar)" style="border-radius: 50%;" mode="scaleToFill" />
			</view>
			<view class="rig">
				<view class="r1 r2">
					<view style="display:flex;align-items:center;width:0;flex:1;">
						<view class="name">{{item.user.nickname}}</view>
						<image src="https://pw.qyang.cc/static/svg/icon-realname.svg"
							style="width: 30rpx; height: 30rpx; margin-right: 15rpx; "></image>

						<view class="r2-sex1" v-if="item.user.gender === 1">
							<image src="https://pw.qyang.cc/static/sexW.png"
								style="width: 20rpx;height: 20rpx;margin-right: 10rpx;">
							</image>{{item.user.age?item.user.age:''}}
						</view>
						<view class="r2-sex2" v-if="item.user.gender === 0">
							<image src="https://pw.qyang.cc/static/sexM.png"
								style="width: 20rpx;height: 20rpx; margin-right: 10rpx;">
							</image>{{item.user.age?item.user.age:''}}
						</view>
					</view>

				</view>
				<view class="r2">


					<view class="r2-con">
						&nbsp;&nbsp;{{item.user.cm?item.user.cm:'--'}}cm &nbsp;&nbsp;
						{{item.user.kg?item.user.kg:'--'}}kg
					</view>
					<!-- <view class="r2-time">
        		{{item.createtime}}
        	</view> -->
				</view>
				<view class="r3" v-if="item.user.tags && item.user.tags.length>0">
					<view class="tabs">
						<view class="tabs-item" v-for="i,a in item.user.tags" :key="a" :style="{background:i.color}">
							{{i.name}}
						</view>
					</view>
				</view>

				<view class="r4">
					<span v-html="item.content"></span>

				</view>
				<view class="r5">
					<view class="image" v-for="i,c in item.image" :key="c" @click.stop="previewMedia(item,ii)">
						<video :src="i" muted autoplay loop :controls="false" v-if="i.includes('.mp4')"></video>
						<image :src="i" mode="aspectFill" v-else></image>
					</view>
				</view>
			</view>
		</view>
		<view class="bottom-actions" v-if="isEditing">
			<view
				style="text-align: left;  width: 300rpx; height: 74rpx;  line-height: 74rpx; font-size: 30rpx; margin-left: 22rpx;">
				<view class="uni-list">
					<checkbox-group>
						<label @click="selectAll" style="  transform: scale(0.8)" class="uni-list-cell uni-list-cell-pd"
							v-for="item in items" :key="item.value">
							<view style="display: inline;">
								<checkbox :value="item.value" :checked="checked" />
							</view>
							<view style="display: inline;">{{ item.name }}</view>
						</label>
					</checkbox-group>
				</view>
			</view>

			<view style="
          color: #fff;
          background: #ff5866;
          padding: 8rpx 30rpx;
          border-radius: 50rpx;
		  font-size: 30rpx;
		  width: 380rpx;
		  height: 74rpx;
		  line-height: 74rpx;
		  text-align: center;
		  margin-right: 36rpx;
        " @click="removeSelected">移除收藏</view>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				checked: false,
				items: [{
					value: "CHN",
					name: "全选",
				}, ],
				listabs: [{
						name: "达人收藏",
					},
					{
						name: "活动收藏",
					},
					{
						name: "帖子收藏",
					},
				],
				currentTab: "达人收藏", // 默认选中第一个选项卡
				userGender: "", // 默认性别为男
				activityList: [],
				managementText: "管理",
				isEditing: false,
				selectedItems: [], // 跟踪被选中的项目
				params: {
					page: 1,
					type: 1
				},
				page: 1,
				type: 1,
				orderList: [],
				orderData: [],
			};
		},
		onLoad() {
			this.getData()
		},
		onReachBottom() {
			this.page++
			this.getList()
		},
		methods: {
			getData() {
				this.page = 1
				this.checked = false
				this.getList()
			},
			getList() {
				var that = this;
				var page = this.page;
				if (!page) {
					page = 1
				}
				if (this.page == 1) {
					this.orderList = [];
				}
				if (this.orderData.last_page && page > 1 && page > this.orderData.last_page) {
					return;
				}
				this.rq.getData('collect/collect_list', {
					type: this.type,
					page: page
				}).then(res => {
					if (res.code == 1) {
						this.orderList = this.orderList.concat(res.data.data);
						this.orderData = res.data
					} else {
						uni.showToast({
							title: res.msg,
							icon: 'none'
						})
					}
				})
			},
			toggleManagement() {
				this.isEditing = !this.isEditing;
				if (this.isEditing) {
					this.managementText = "完成";
				} else {
					this.managementText = "管理";
					this.selectedItems = []; // 清空选择
				}
			},
			selectInfo(infoType, type) {
				if (this.isEditing) {
					if (this.selectedItems.includes(infoType)) {
						this.selectedItems = this.selectedItems.filter(
							(item) => item !== infoType
						);
						this.checked = false
					} else {
						this.selectedItems.push(infoType);
						if(this.selectedItems.length==this.orderList.length){
							this.checked = true
						}
					}
				} else {
					let url = type == 'daren' ? `/subpages/talent/talent?id=${infoType}` : type == 'active' ?
						`/subpages/activity/detail?id=${infoType}` : type == 'tiezi' ?
						`/pages/square/detail?id=${infoType}` : ''
					uni.navigateTo({
						url: url
					})
				}
			},
			changeTab(item) {
				this.currentTab = item.name;
				this.type = item.index + 1
				this.selectedItems = []; // 切换选项卡时清空选择
				this.orderList = [];
				this.getData()
			},
			// goDetail(item) {
			//   uni.navigateTo({
			//     url: "/subpages/activity/detail?item=" + JSON.stringify(item),
			//   });
			// },
			selectAll() {
				this.checked = !this.checked
				this.selectedItems = []; /* 初始化选中 */
				console.log(this.checked, "this.checked")
				if (this.checked) {
					var selectedItems = [];
					for (var item of this.orderList) {
						selectedItems.push(item.id);
					}
					this.selectedItems = selectedItems;
				}
			},

			removeSelected() {
				// this.type
				// this.selectedItems
				var that = this
				if (!this.selectedItems.length) {
					uni.showToast({
						title: '请选择要移除的收藏',
						icon: 'none'
					})
					return;
				}
				uni.showModal({
					title: "取消收藏",
					content: "确认取消收藏?",
					success(res) {
						if (res.confirm) {
							that.doRemoveSelected()
						} else if (res.cancel) {
							console.log('用户点击取消');
						}
					}

				})
			},
			previewMedia(item, media) {
				uni.navigateTo({
					url: '/pages/square/picDetail?id=' + item.id + '&index=' + media
				})
			},
			doRemoveSelected() {
				var that = this
				this.rq.getData('collect/cancelCollectByType', {
					ids: this.selectedItems.join(','),
					type: this.type,
				}).then(res => {
					uni.showToast({
						title: res.msg,
						icon: 'none'
					})
					that.selectedItems = [];
					that.getData()
				})
			},

		},
	};
</script>
<style lang="scss" scoped>
	.pages {
		background-color: #f7f7f7;

		.uni-list-cell {
			justify-content: flex-start;
		}

		.selected-img {
			display: none;
		}

		.border-red {
			position: relative;

			&::after {
				position: absolute;
				content: '';
				background: rgba(51, 51, 51, 0.5) !important;
				box-sizing: border-box;
				border: 2px solid #FF5866;
				left: 0;
				right: 0;
				top: 0;
				bottom: 0;
				border-radius: 10px;
			}

			.selected-img {
				display: block;
			}
		}

		.selected-img {
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			z-index: 2;

			image {
				width: 25px;
				height: 25px;
				background-image: linear-gradient(#fff, #fff);
				background-size: 15px 15px;
				background-repeat: no-repeat;
				background-position: center;
			}
		}

		.bottom-actions {
			display: flex;
			justify-content: space-around;
			padding: 25rpx 0;
			background-color: #fff;
			position: fixed;
			bottom: 0;
			width: 100%;
			box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
		}

		.tabs {
			display: flex;
			align-items: center;
			justify-content: space-between;
			background-color: #ffffff;
			padding: 20rpx 40rpx;

			text {
				font-size: 13px;
				font-weight: normal;
				color: #999999;
			}
		}

		.info1 {
			padding: 30rpx;
			background-color: #ffffff;
			margin: 20rpx;
			border-radius: 10rpx;
			display: flex;
			align-items: center;

			.avator {
				image {
					width: 120rpx;
					height: 120rpx;
					margin-right: 20rpx;
				}
			}

			.rig {
				.l2{
					font-size: 22rpx;
					color: #999999;
				}
				.top {
					display: flex;
					align-items: center;
					margin-bottom: 15rpx;

					.level {
						image {
							width: 35rpx;
							height: 35rpx;
							margin: 0 20rpx;
						}
					}

					.sex {
						padding: 5rpx 25rpx;
						background: #ffeeef;
						border-radius: 25rpx;
						display: flex;
						align-items: center;

						image {
							width: 25rpx;
							height: 25rpx;
							margin-right: 12rpx;
						}

						text {
							color: #ff7b86;
						}

						&.blue {
							background-color: rgba(116, 220, 254, 0.2);

							text {
								color: #2BC1F1;
								font-size: 24rpx;
							}
						}
					}
				}

				p {
					color: #999999;
					//超出宽度用省略号显示
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
					width: 400rpx;
				}
			}
		}

		.info2 {
			.content {
				padding: 20rpx 30rpx 100rpx 30rpx;
				position: relative;
				background-color: #f4f4f4;

				.activityList {
					margin-bottom: 30rpx;
					border-radius: 10px;
					background-color: #ffffff;
					width: 100%;
					// height: 686rpx;
					display: flex;
					flex-direction: column;
					align-items: flex-start;

					.title {
						font-size: 14px;
						font-weight: 600;
						line-height: 2px;
						letter-spacing: 0px;
						color: #333333;
						overflow: hidden;
						text-overflow: ellipsis;
						white-space: nowrap;
						// // width: 600rpx;
						// padding: 30rpx;
						// position: relative;
						// margin: 10rpx 0;
						padding: 10rpx;
						position: relative;
						margin: 10rpx 0;
						width: 550rpx;
						display: flex;
						align-items: center;

						.title-tab {
							width: 50px;
							height: 40rpx;
							border-radius: 4px;
							opacity: 1;

							background: #ff7681;
							font-size: 12px;
							font-weight: normal;
							line-height: 12px;
							text-align: center;
							letter-spacing: 0px;
							color: #ffffff;
							margin-right: 10rpx;
							display: flex;
							align-items: center;
							justify-content: center;
						}

						.title-text {
							width: 500rpx;
							height: 40rpx;
							line-height: 40rpx;
							text-overflow: ellipsis;
							overflow: hidden;
							white-space: nowrap;
						}
					}

					.image {
						width: 100%;
						height: 400rpx;

						image {
							width: 100%;
							height: 400rpx;
						}
					}

					.status {
						position: absolute;
						right: 0;
						margin-right: 30rpx;
						width: 54.64px;
						height: 24.72px;
						border-radius: 0px 8px 0px 8px;
						opacity: 1;

						font-size: 13px;
						font-weight: 500;
						line-height: 12px;
						text-align: center;
						letter-spacing: 0px;
						// background: #84E28C;
						color: #ffffff;
						display: flex;
						align-items: center;
						justify-content: center;

						.status0 {
							background: #ae9cfe;
							margin-right: -1rpx;
						}

						.status1 {
							background: #84e28c;
							margin-right: -1rpx;
						}

						.status2 {
							background: rgba(153, 153, 153, 0.1);
							color: #999999;
							margin-right: -1rpx;
						}
					}

					.btn {
						right: 35%;
						position: absolute;
						width: 115px;
						height: 38px;
						display: flex;
						align-items: center;
						justify-content: center;
						border-radius: 99px;
						opacity: 1;
						margin-top: 445rpx;
						background: #ff7681;
						font-family: PingFang SC;
						font-size: 18px;
						font-weight: normal;
						line-height: 18px;
						letter-spacing: 0px;
						color: #ffffff;
						text-shadow: 0px 1px 4px rgba(108, 37, 37, 0.25);
					}

					.con {
						width: 100%;
						padding: 20rpx 0;

						.con1 {
							font-family: 阿里巴巴普惠体 2;
							font-size: 13px;
							font-weight: normal;
							line-height: 12px;
							letter-spacing: 0px;
							margin: 20rpx;
							color: #333333;
							display: flex;
							align-items: center;
						}

						.con2 {
							display: flex;

							.con2-img {
								width: 460rpx;

								overflow: hidden;
								text-overflow: ellipsis;
								white-space: nowrap;

								image {
									width: 21px;
									height: 21px;
									margin-right: 10rpx;
								}
							}

							.con2-text {
								font-family: PingFang SC;
								font-size: 14px;
								font-weight: normal;
								line-height: 12px;
								letter-spacing: 0px;

								font-variation-settings: "opsz" auto;
								/* 累计 */
								color: #000000;
							}
						}
					}
				}
			}
		}

		.info3 {
			padding: 36rpx 30rpx 36rpx 22rpx;
			background-color: #ffffff;
			margin: 26rpx 36rpx 0 34rpx;
			border-radius: 10rpx;
			display: flex;

			.avator {
				image {

					width: 80rpx;
					height: 80rpx;
					margin-right: 18rpx;
				}
			}

			.rig {
				.top {
					display: flex;
					align-items: center;

					.level {
						image {
							width: 30rpx;
							height: 30rpx;
							margin: 0 12rpx;
						}
					}

					.sex {
						padding: 5rpx 25rpx;
						background-color: #ffeeef;
						border-radius: 25rpx;
						display: flex;
						align-items: center;

						image {
							width: 25rpx;
							height: 25rpx;
							margin-right: 12rpx;
						}

						text {
							color: #ff7b86;
							font-size: 24rpx;
						}

						&.blue {
							background-color: rgba(116, 220, 254, 0.2);

							text {
								color: #2BC1F1;
								font-size: 24rpx;
							}
						}

					}

					.sex1 {
						padding: 5rpx 25rpx;
						background-color: #84D4F0;
						border-radius: 25rpx;
						display: flex;
						align-items: center;

						image {
							width: 25rpx;
							height: 25rpx;
							margin-right: 12rpx;
						}

						text {
							color: #ff7b86;
							font-size: 24rpx;
						}
					}
				}

				.cm {
					text {
						font-size: 24rpx;
						color: #999999;
						margin-right: 15rpx;
					}
				}

				p {
					//最多显示三行，多于三行用省略号代替
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-line-clamp: 3;
					-webkit-box-orient: vertical;
					font-size: 24rpx;
				}
			}
		}
	}




	.rig {
		// width: 0;
		flex: 1;
		// padding-right: 40rpx;

		.r1 {
			display: flex;
			align-items: center;
			padding: 20rpx 0;
			width: 100%;

			view {
				margin-right: 15rpx;
			}

			.name {
				// min-width: 72px;
				max-width: 250rpx;
				font-size: 18px;
				font-weight: 500;
				line-height: 17px;
				letter-spacing: 0px;
				color: #000000;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
				-o-text-overflow: ellipsis;
			}

			.tuijian {
				width: 79px;
				height: 24px;
				border-radius: 33px;
				opacity: 1;

				background: #FF7681;
				font-size: 12px;
				font-weight: normal;
				line-height: 18px;
				letter-spacing: 0px;
				display: flex;
				align-items: center;
				justify-content: center;
				color: #FFFFFF;
				margin-left: 10rpx;
			}

			.fenlei {
				min-width: 72px;
				max-width: 100px;
				height: 24px;
				border-radius: 33px;
				opacity: 1;

				background: rgba(251, 182, 187, 0.14);
				font-size: 12px;
				font-weight: normal;
				line-height: 18px;
				letter-spacing: 0px;
				color: #F7635C;
				display: flex;
				align-items: center;
				justify-content: center;
				padding: 0 10rpx;

				.fenlei1 {
					overflow: hidden;
					white-space: nowrap;
					text-overflow: ellipsis;
					-o-text-overflow: ellipsis;
				}
			}
		}

		.r2 {
			display: flex;
			align-items: center;
			font-size: 12px;
			font-weight: normal;
			line-height: 12px;
			letter-spacing: 0px;
			color: #999999;
			width: 100%;

			// .r2-con {
			// 	margin-left: 20rpx;
			// }

			.r2-time {
				margin-right: 40rpx;
				position: absolute;
				right: 0;
			}

			.r2-sex1 {
				display: flex;
				width: 42px;
				height: 16px;
				border-radius: 88px;
				opacity: 1;
				background: rgba(116, 220, 254, 0.2);

				font-size: 11px;
				font-weight: 500;
				line-height: 15px;
				display: flex;
				align-items: center;
				justify-content: center;
				letter-spacing: 0px;
				color: #2BC1F1;

			}

			.r2-sex2 {
				display: flex;
				width: 42px;
				height: 16px;
				border-radius: 88px;
				opacity: 1;

				background: rgba(253, 168, 175, 0.2);

				font-size: 11px;
				font-weight: 500;
				line-height: 15px;
				display: flex;
				align-items: center;
				justify-content: center;
				letter-spacing: 0px;
				color: #FDA8AF;

			}
		}

		.r3 {
			display: flex;

			.tabs {
				display: flex;
				position: relative;
				flex-wrap: wrap;
				margin-top: 15rpx;
				padding: 0;
				height: 44rpx;
				overflow: hidden;

				.tabs-item {
					font-size: 24rpx;
					font-weight: normal;
					line-height: 24rpx;
					display: flex;
					align-items: center;
					justify-content: center;
					color: #FFFFFF;
					width: 118rpx;
					height: 44rpx;
					border-radius: 44rpx;
					opacity: 1;
					background: #FF6C91;
					margin-right: 15rpx;
					margin-bottom: 10rpx;
				}
			}
		}

		.r4 {
			// display: flex;
			font-size: 14px;
			font-weight: normal;
			line-height: 21px;
			letter-spacing: 0px;
			color: #333333;
			// width: 295px;

			.expand-btn {
				font-size: 13px;
				font-weight: normal;
				line-height: 21px;
				letter-spacing: 0px;
				color: #FF7883;
			}
		}

		.r5 {
			display: flex;
			flex-wrap: wrap;
			margin-top: 15rpx;
			margin-right: -10rpx;

			.image {
				display: flex;
				margin-right: 8rpx;
				margin-bottom: 10rpx;
			}

			image {
				width: 172rpx;
				height: 172rpx;
				border-radius: 4rpx;
			}

			video {
				width: 172rpx;
				height: 172rpx;
				border-radius: 4rpx;
			}
		}

		.r6 {
			display: flex;
			align-items: center;
			width: 293px;
			height: 26px;
			border-radius: 4px;
			opacity: 1;

			background: rgba(0, 188, 86, 0.05);
			font-size: 11px;
			font-weight: normal;
			line-height: 12px;
			letter-spacing: 0px;
			margin: 10rpx 0;
			color: #00BC56;

			image {
				width: 13px;
				height: 13px;
				margin: 0 20rpx;
			}
		}

		.r7 {
			display: flex;
			align-items: center;
			width: 293px;
			height: 26px;
			border-radius: 4px;
			opacity: 1;

			background: rgba(255, 119, 43, 0.05);
			font-size: 11px;
			font-weight: normal;
			line-height: 12px;
			letter-spacing: 0px;
			margin: 10rpx 0;
			color: #FF772B;

			image {
				width: 13px;
				height: 13px;
				margin: 0 20rpx;
			}
		}

		.r8 {
			font-size: 13px;
			font-weight: 500;
			line-height: 14px;
			letter-spacing: 0px;
			color: #333333;
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin: 20rpx 0;
			width: 293px;

			.image {
				width: 100rpx;
				display: flex;
				align-items: center;
			}

			image {
				width: 16px;
				height: 16px;

				margin-right: 10rpx;
			}
		}

		.r9 {
			display: flex;
			align-items: center;
			width: 293px;
			height: 26px;
			border-radius: 4px;
			opacity: 1;

			font-size: 11px;
			font-weight: normal;
			line-height: 12px;
			letter-spacing: 0px;
			margin: 10rpx 0;
			color: #666666;

			image {
				width: 13px;
				height: 13px;
				margin: 0 20rpx;
				flex-shrink: 0;
			}
		}

		.r10 {
			display: flex;
			align-items: center;
			justify-content: center;

			font-family: PingFang SC;
			font-size: 11px;
			font-weight: normal;
			line-height: 12px;
			letter-spacing: 0px;

			font-variation-settings: "opsz" auto;
			color: #666666;
			padding: 10rpx;
		}

	}
</style>